package com.zmj.sy.mom.srv.aps.mapper;

import com.zmj.sy.mom.srv.aps.bean.entity.nest.NestReceivePlate;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface NestReceivePlateMapper extends SyMapper<NestReceivePlate> {

    @Select("DELETE FROM tb_nest_receive_plate WHERE id=#{id}")
    void deleteWithId(@Param("id") Integer id);

    @Select("DELETE FROM tb_nest_receive_plate WHERE plate_code = #{plateCode}")
    void deleteMesNestWithCode(@Param("plateCode") String plateCode);

}
